<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>教室管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link href="../css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="../css/admin.css" rel="stylesheet" type="text/css"/>
    <link href="../css/public.css" rel="stylesheet" type="text/css"/>
	
</head>
<body>
<div class="layui-conter">
    <div class="layui-col-md12">
        <div class="navigation">
            <span>教务></span><span>班级管理></span><span>教室管理</span>
        </div>

        <div class="white-conter">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="title-blue"><b>教室管理</b></div>
                    <div class="layui-card-body addPadding">
                        <form class="layui-form" action="" lay-filter="component-form-group">
                            <div class=" layui-row" style="margin-top: 20px">
                                <div class=" layui-col-xs3" style="width: 20%;">
                                    <label class="layui-form-label">教室名称：</label>
                                    <div class="layui-input-block">
                                        <input type="text" placeholder="请输入..." class="layui-input" >
                                    </div>
                                </div>
                                <div class=" layui-col-xs3" style="width: 20%;">
                                    <label class="layui-form-label">容纳人数：</label>
                                    <div class="layui-input-block">
                                    	<input type="text" placeholder="请输入..." class="layui-input" >
                                    </div>
                                </div>
                                <div class=" layui-col-xs3" style="width: 20%;">
                                    <label class="layui-form-label">所属校区：</label>
                                    <div class="layui-input-block">
                                        <select name="quiz3">
                                            <option value="" selected="">请选择</option>
                                            <option value="1">长宁校区</option>
                                            <option value="2">虹口校区</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="layui-inline search-1" style="margin-left: 20px;">
                                    <button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" >搜索</button>
                                </div>
								<div class="layui-inline add" style="margin-left: 20px;">
									<button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" >添加</button>
								</div>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body"  style="border-bottom:none;">
                            <table  class="layui-hide" id="test-table-operate" lay-filter="test-table-operate"></table>
                            <div class="layui-form layui-border-box layui-table-view" lay-filter="LAY-table-1">
                                <div class="layui-table-box" style="margin-bottom: 20px">
                                    <div class="layui-table-body layui-table-main">
                                        <table cellspacing="0" cellpadding="0" border="0" class="layui-table">
                                            <thead>
                                            <tr>
                                                <th data-field="classNum" style="padding-left: 60px;"  >
                                                    <div class="layui-table-cell laytable-cell-classNum">
                                                        <span>教室编号</span>
                                                    </div>
                                                </th>
                                                <th data-field="ac-name">
                                                    <div class="layui-table-cell laytable-cell-ac-name" align="center">
                                                        <span>教室名称</span>
                                                    </div>
                                                </th>
                                                <th data-field="ac-type">
                                                    <div class="layui-table-cell laytable-cell-ac-type" align="center">
                                                        <span>容纳人数</span>
                                                    </div>
                                                </th>
												<th data-field="campus">
													<div class="layui-table-cell laytable-cell-campus" align="center">
														<span>所属校区</span>
													</div>
												</th>
                                                <th data-field="ac-state">
                                                    <div class="layui-table-cell laytable-cell-ac-state" align="center">
                                                        <span>状态</span>
                                                    </div>
                                                </th>
                                                <th data-field="ac-sort">
                                                    <div class="layui-table-cell laytable-cell-ac-sort" align="center">
                                                        <span>排序</span>
                                                    </div>
                                                </th>
                                                <th data-field="operation">
                                                    <div class="layui-table-cell laytable-cell-1-operation" align="center">
                                                        <span>操作</span>
                                                    </div>
                                                </th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <tr data-index="0" class="">
                                                <td data-field="ac-id" align="center"  style="padding-left: 60px;">
                                                    <div class="layui-table-cell laytable-cell-ac-id">1</div>
                                                </td>
                                                <td data-field="ac-name" align="center">
                                                    <div class="laytable-cell-ac-name">
                                                        <input type="text" value="101" class="layui-input" style="padding-right:10px;width: 96px;margin: 0 auto;">
                                                    </div>
                                                </td>
                                                <td data-field="ac-type" align="center">
                                                    <div class="laytable-cell-ac-type">
                                                        <input type="text" value="40" class="layui-input" style="padding-right:10px;width: 75px;margin: 0 auto;">
                                                    </div>
                                                </td>
												
                                                <td data-field="ac-state" align="center">
                                                    <div class="laytable-cell-ac-state">
                                                        <select name="quiz1">
                                                            <option value="1" selected="selected">启用</option>
                                                            <option value="2">关闭</option>
                                                        </select>
                                                    </div>
                                                </td>
												<td data-field="campus" align="center">
													<div class="laytable-cell-campus">
														<select name="quiz5">
															<option value="1" selected="selected">长宁北新泾校区</option>
															<option value="2">虹口江湾校区</option>
														</select>
													</div>
												</td>
                                                <td data-field="ac-sort" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img" style="background: url(../images/bj.png)no-repeat center;"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr data-index="1" class="">
                                                <td data-field="ac-id" style="padding-left: 60px;"  align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-id">2</div>
                                                </td>
                                                <td data-field="ac-name" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-name">耗材</div>
                                                </td>
                                                <td data-field="ac-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-type">支出</div>
                                                </td>
                                                <td data-field="ac-state" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-state">
                                                        启用
                                                    </div>
                                                </td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
                                                <td data-field="ac-sort" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr data-index="2" class="">
                                                <td data-field="ac-id" style="padding-left: 60px;"  align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-id">3</div>
                                                </td>
                                                <td data-field="ac-name" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-name">管理费</div>
                                                </td>
                                                <td data-field="ac-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-type">支出</div>
                                                </td>
                                                <td data-field="ac-state" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-state ">
                                                        启用
                                                    </div>
                                                </td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
                                                <td data-field="ac-sort" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
                                            <tr data-index="3" class="">
                                                <td data-field="ac-id" style="padding-left: 60px;"  align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-id">4</div>
                                                </td>
                                                <td data-field="ac-name" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-name">收入</div>
                                                </td>
                                                <td data-field="ac-type" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-type">收入</div>
                                                </td>
                                                <td data-field="ac-state" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-state">
                                                        启用
                                                    </div>
                                                </td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
                                                <td data-field="ac-sort" align="center">
                                                    <div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
                                                </td>
                                                <td data-field="operation" align="center">
                                                    <div class="layui-table-cell laytable-cell-1-operation">
                                                        <button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
                                                        <button data-method="offset" data-type="auto"  class="img-but del-img"></button>
                                                    </div>
                                                </td>
                                            </tr>
											<tr data-index="4" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">5</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="5" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">6</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="6" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">7</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="7" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">8</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="8" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">9</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="9" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">10</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="10" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">11</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="11" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">12</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="12" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">13</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
											<tr data-index="13" class="">
												<td data-field="ac-id" style="padding-left: 60px;"  align="center">
													<div class="layui-table-cell laytable-cell-ac-id">14</div>
												</td>
												<td data-field="ac-name" align="center">
													<div class="layui-table-cell laytable-cell-ac-name">收入</div>
												</td>
												<td data-field="ac-type" align="center">
													<div class="layui-table-cell laytable-cell-ac-type">收入</div>
												</td>
												<td data-field="ac-state" align="center">
													<div class="layui-table-cell laytable-cell-ac-state">
														启用
													</div>
												</td>
												<td data-field="campus" align="center">
													<div class="layui-table-cell laytable-cell-campus">
														虹口江湾校区
													</div>
												</td>
												<td data-field="ac-sort" align="center">
													<div class="layui-table-cell laytable-cell-ac-sort">↑↓</div>
												</td>
												<td data-field="operation" align="center">
													<div class="layui-table-cell laytable-cell-1-operation">
														<button data-method="offset" data-type="auto"  class="img-but edit-img"></button>
														<button data-method="offset" data-type="auto"  class="img-but del-img"></button>
													</div>
												</td>
											</tr>
                                            </tbody>
                                        </table>
                                    </div>
									<div class="layui-table-page">
											<div id="layui-table-page1">
													<div class="layui-box layui-laypage layui-laypage-default" id="layui-laypage-1">
															<a href="javascript:;" class="layui-laypage-prev layui-disabled" data-page="0">
																	<i class="layui-icon"></i></a>
															<span class="layui-laypage-curr">
													<em class="layui-laypage-em"></em>
													<em>1</em>
											</span>
															<a href="javascript:;" data-page="2">2</a>
															<a href="javascript:;" data-page="3">3</a>
															<span class="layui-laypage-spr">…</span>
															<a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="100">100</a>
															<a href="javascript:;" class="layui-laypage-next" data-page="2">
																	<i class="layui-icon"></i></a><span class="layui-laypage-skip">到第
											<input type="text" min="1" value="1" class="layui-input">页
											<button type="button" class="layui-laypage-btn blue">确定</button>
									</span>
													</div>
											</div>
									</div>
                                </div>
                                
                            </div>

                            <script type="text/html" id="test-table-operate-barDemo">
                                <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
                                <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
                            </script>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </div>
</div>
</body>
<script src="../js/layui.all.js"></script>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;
        //执行一个laydate实例
        laydate.render({
            elem: '#datesign' //指定元素
        });
    });
</script>
</html>